import styled from "styled-px2vw";

export const GridBoxWrapper = styled.div.attrs((props) => ({}))`
  width: 100% !important;
  position: relative;
  height: 705px;
  display: flex;
  justify-content: center;

  .prize_bg {
    background-size: 100%;
    ${(props) => props.skins.mid_outBg};
    width: 690px;

    height: 815px; /* padding-top: 100px; */
    position: absolute;
    top: -135px;
    border-radius: 20px;

    /* 小标题 */
    .mid_title {
      height: 100px;
      max-height: 100px;
      width: 600px;
      margin: auto;
      font-size: 34px;
      color: #ffe262;
      ${(props) => props.skins.mid_title};
      font-weight: 500;
    }

    .mid_bottom_box {
      height: 108px;
      margin: 0 auto;
      justify-content: space-between;

      .mid_bottom_mobi {
        font-size: 26px;
        font-family: Source Han Sans CN;
        font-weight: 400;
        color: #ffffff;
        margin-left: 35px;
        ${(props) => props.skins.mid_mobi};
      }

      .My_Prize {
        font-size: 26px;
        font-weight: 400;
        color: #ffffff;
        background-color: #4597ff;
        ${(props) => props.skins.mid_myPrizeFontColor};
        ${(props) => props.skins.mid_myPrizeBg};

        width: 145px;
        height: 52px;
        border-radius: 26px 0px 0px 26px;
      }
    }
  }
`;

export const PrizeGridWrapper = styled.div.attrs((props) => ({}))`
  .prize {
    width: 100%;
    max-width: 750px;
    line-height: 1;
  }

  .prize__container {
    margin: 0 auto;
    width: 620px;
    height: 608px;
    // border: 1px solid #eeeeee;
    ${(props) => props.skins.mid_innerBg};

    border-radius: 20px;
  }

  .container__area {
    width: 100%;
    padding: 16.5px;
    box-sizing: border-box;
    position: relative;
  }

  .area__row {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .row__item {
    width: 189px;
    height: 184px;
    border-radius: 20px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .begin__btn {
    position: absolute;
    left: calc(50% - 94.5px);
    top: calc(50% - 97px);

    font-size: 70px;
    font-weight: 500;
    color: #ffffff;
    ${(props) => props.skins.mid_prizeBtn};
    /* 
    position: absolute;
    left: calc(50% - 94.5px);
    top: calc(50% - 97px);
    border-bottom: 9px solid #ae2dda;
    height: 174px;
    font-size: 70px;
    font-weight: 500;
    color: #ffffff;
    ${(props) => props.skins.mid_prizeBtn}; */
  }

  .begin_btn_text {
    margin-top: 14px;
    margin-bottom: 19px;
  }

  .begin_btn_desc {
    font-size: 30px;
    font-weight: 400;
    color: #ffffff;
  }

  .row__item__active {
    background: #fff47c;
  }

  .prize_single_box {
    width: 160px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 149px;
    overflow: hidden;

    span {
      font-size: 24px;
      font-weight: 500;
      color: #333333;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      text-align: center;
      width: 170px;
    }
    img {
      height: 112px;
      margin-bottom: 12px;
    }
  }
`;
